<?php
namespace Lsf\Intfc;

/**
 * 数据库接口类
 * @author lichenkai@okay.cn
 * $Id: database.php 2017-03-06 10:09:07 lichenkai $
 */

interface DataBase
{
    function connect($config);
    function getLastSql();
    function getLastInsertId();
    function getErrorNo();
    function getErrorMsg();
}